home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19960425-19960715 / 000308_news@columbia.edu _Wed Jun 26 09:51:34 1996.msg < prev    next >
Internet Message Format  |  1996-07-26  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id JAA02525 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 26 Jun 1996 09:51:33 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id JAA22977 for kermit.misc@watsun; Wed, 26 Jun 1996 09:51:32 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: linedraw chars in vt320 emulation
  8. Date: 26 Jun 1996 13:51:29 GMT
  9. Organization: Columbia University
  10. Lines: 44
  11. Message-ID: <4qrf91$mdv@apakabar.cc.columbia.edu>
  12. References: <DtLJ4B.Kt7@echelon.nl>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <DtLJ4B.Kt7@echelon.nl>, Kees Hendrikse <kees@echelon.nl> wrote:
  16. : I'm trying to access a Unix based application through MSKermit 3.14 under
  17. : vt320 emulation. The app uses line-draw characters to draw boxes on the
  18. : screen, but the boxes keep showing up with lower-case letters instead of
  19. : line-draw chars. Kermit uses the Latin1 char set, DOS uses cp850 and
  20. : everything is set to 8 bits.
  21. : The application uses DEC SS2 as single-shift-out character, i.e., the
  22. : top-line of a box is sent as:
  23. :   {0x9b}7;5H{0x8e}l{0x8e}q{0x8e}q{0x8e}q{0x8e}q{0x8e}q{0x8e}k
  24. : Kermit simply ignores the 0x8e's.  How do I tell kermit to process them
  25. : and put the appropriate line-draw char on the screen?
  26. SS2 is Single Shift 2.  It means: the next character value is to be
  27. treated as a pointer into the terminal's G2 table.  The character after it
  28. is an "l" or a "q" or a "k".  So "q", for example, whose ASCII value is
  29. 113 (decimal), would be translated into the 113th character of whatever
  30. character set had previously been designated to G2.  If the DEC Special
  31. Graphics character set had been designated to G2 by:
  32.  
  33.   ESC * 0
  34.  
  35. then SS2 followed by "q" should select a horizontal line box-drawing
  36. character.
  37.  
  38. Evidently it does not do this in MS-DOS Kermit, so that's a bug that we
  39. will have to fix.  The bug involves 8-bit SS2 only.  If you use SS2 in its
  40. 7-bit form:
  41.  
  42.   ESC N
  43.  
  44. everything works fine, so you might be able to work around the problem by
  45. telling your application that you have a 7-bit connection, hopefully
  46. coercing it to send C1 controls in their 7-bit form.  Also note that
  47. locking shifts do work correctly, so using LS2 (ESC n) instead of SS2
  48. produces the desired results:
  49.  
  50.   {0x9b}7;5H{0x1b}nlqqqqqqqqqqqqqqqqk{0x0f}
  51.  
  52. Thanks for the report.
  53.  
  54. - Frank